﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Conference.Command.Command
{
    /// <summary>
    /// 创建客户
    /// </summary>
    public class CreateCustomerCommand : BaseCommand
    {
        public CreateCustomerCommand(string customerName, string customerAge, string customerPhone, Address customerAddress)
        {
            CustomerName = customerName;
            CustomerAge = customerAge;
            CustomerPhone = customerPhone;
            CustomerAddress = customerAddress;
        }

        /// <summary>
        /// 客户姓名
        /// </summary>
        public string CustomerName { get; set; }
        /// <summary>
        /// 客户年龄
        /// </summary>
        public string CustomerAge { get; set; }
        /// <summary>
        /// 客户电话
        /// </summary>
        public string CustomerPhone { get; set; }
        /// <summary>
        /// 客户地址
        /// </summary>
        public Address CustomerAddress { get; set; }
    }

    /// <summary>
    /// 地址
    /// </summary>
    public class Address
    {
        /// <summary>
        /// 省
        /// </summary>
        public string Province { get; set; }

        /// <summary>
        /// 市县
        /// </summary>
        public string City { get; set; }

        /// <summary>
        /// 镇
        /// </summary>
        public string County { get; set; }

        /// <summary>
        /// 详细地址
        /// </summary>
        public string AddressDetails { get; set; }

    }
}
